package com.firebird.fekpsl.mvp.model

import com.firebird.app.fekpsl.base.BaseModel
import com.firebird.app.fekpsl.bean.BaseListResponseBody
import com.firebird.app.fekpsl.bean.HttpResult
import com.firebird.app.fekpsl.bean.Messager
import com.firebird.app.fekpsl.http.RetrofitHelper
import com.firebird.app.fekpsl.mvp.sword.friend.MessagerContract
import io.reactivex.Observable

/**
 * Created by firebird on 2018/4/21.
 */
class MessagerModel : BaseModel(), MessagerContract.Model {

    override fun getMessagerList(pageNo: Int,userUuid:String): Observable<HttpResult<BaseListResponseBody<Messager>>> {
        return RetrofitHelper.friendService.getMessagerList(pageNo, userUuid)
    }

}